package com.gitee.shigen.oss.enums;

import lombok.Getter;

/**
 * 存储类型枚举
 *
 * @author shigenfu
 * @date 2023/4/27 2:43 下午
 */
@Getter
public enum CloudStorageTypeEnum {

    /**
     * 七牛
     */
    QINIU("TYPE_QINIU", 1),

    /**
     * 阿里云
     */
    ALIYUN("TYPE_ALIYUN", 2),

    /**
     * 腾讯云
     */
    QCLOUD("TYPE_QCLOUD", 3),

    /**
     * MINIO
     */
    MINIO("MINIO", 4),

    ;

    private final String name;
    private final Integer code;

    CloudStorageTypeEnum(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

}
